package com.sky.mapper;

import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SetmealDishMapper {
    List<Long> getSetmealIdByDishId(List<Long> dishIds);

    void saveWithDish(List<SetmealDish> setmealDishes);

    void deleteById(List<Long> setmealIds);

    List<Long> getSetmealIdsByDishIds(List<Long> dishIds);

    List<SetmealDish> getBySetmealId(Long id);

}
